export default [
    {
        path: '/hotartist',
        name: 'hotartist',
        component: () => import('@/views/hotartist'),
        children: [   
        ],
        meta: {
          // 显示底部菜单
          setShowFooter: false
        }
      },
      {
        path: '/artistdetail/:id',
        name: 'artistdetail',
        component: () => import('@/views/artistdetail'),
        meta: {
          setShowFooter: false
        },
        // 设置为true，则会把动态路由参数通过props属性来接受
        // props: true
        props: route => ({ dramaId: route.params.id ? Number(route.params.id) : 0 })
      }
]